import os
import sqlexecx as db
from app import conf

db.init(os.path.join(conf.DATA_ROOT, 'test.db'), driver='sqlite3', show_sql=True)


def get_data():
	return db.table('person').columns('name, age').query()


if __name__ == '__main__':
	print(get_data())
	